<?php
use think\Route;
Route::rule('/:id','home/article/detail','get','',['id'=>'\d+']);
Route::rule('category/:id','home/article/category','get','',['id'=>'\d+']);